package com.example.uCenter.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhl
 * @since 2022-08-29 08:38:53
 */
@Getter
@Setter
@TableName("fans")
@ApiModel(value = "Fans对象", description = "")
public class Fans {

    @ApiModelProperty("主键")
    @TableId(value = "fans_id", type = IdType.AUTO)
    private Integer fansId;

    @ApiModelProperty("用户ID(被关注人的ID)")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("关注者ID(关注user_id的用户ID)")
    @TableField("follow_id")
    private Integer followId;

    @ApiModelProperty("逻辑删除标记 0表示正常，1表示删除")
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

//    @TableField("fan01")
//    private String fan01;
//
//    @TableField("fan02")
//    private String fan02;
//
//    @TableField("fan03")
//    private String fan03;
//
//    @TableField("fan04")
//    private String fan04;
//
//    @TableField("fan05")
//    private String fan05;


}
